package com.ssy.lingxi.member.merchant.model.vo.maintenance.response;

import com.ssy.lingxi.common.constant.basic.EnableDisableStatus;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 查询会员角色权限时，点击左侧菜单，返回的右侧需要勾选的按钮id列表、数据权限配置
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-08
 */
public class MemberAbilityRoleGetAuthVO implements Serializable {
    private static final long serialVersionUID = -2618553915185030949L;

    public MemberAbilityRoleGetAuthVO() {
        this.checkIds = new ArrayList<>();
        this.dataAuthConfig = EnableDisableStatus.DISABLE.getCode();
        this.hasDataAuth = EnableDisableStatus.DISABLE.getCode();
        this.orgIds = new ArrayList<>();
    }

    /**
     * 勾选的按钮Id列表
     */
    private List<Long> checkIds;

    /**
     * 此菜单是否可配置数据权限
     */
    private Integer dataAuthConfig;

    /**
     * 此菜单是否已经配置了数据权限
     */
    private Integer hasDataAuth;

    /**
     * 数据权限关联的组织机构Id列表
     */
    private List<Long> orgIds;

    public List<Long> getCheckIds() {
        return checkIds;
    }

    public void setCheckIds(List<Long> checkIds) {
        this.checkIds = checkIds;
    }

    public Integer getDataAuthConfig() {
        return dataAuthConfig;
    }

    public void setDataAuthConfig(Integer dataAuthConfig) {
        this.dataAuthConfig = dataAuthConfig;
    }

    public Integer getHasDataAuth() {
        return hasDataAuth;
    }

    public void setHasDataAuth(Integer hasDataAuth) {
        this.hasDataAuth = hasDataAuth;
    }

    public List<Long> getOrgIds() {
        return orgIds;
    }

    public void setOrgIds(List<Long> orgIds) {
        this.orgIds = orgIds;
    }
}
